<template>
    <div class="tabNav">
        <van-tabbar  v-model="active">
            <van-tabbar-item  to="/Home" icon="home-o">首页</van-tabbar-item>
            <van-tabbar-item  to="/Special" icon="label-o">专题</van-tabbar-item>
            <van-tabbar-item  to="/CassifyPage" icon="apps-o">分类</van-tabbar-item>
            <van-tabbar-item  to="/Shopping" icon="shopping-cart-o">购物车</van-tabbar-item>
            <van-tabbar-item  to="/MyPage" icon="user-o">我的</van-tabbar-item>
        </van-tabbar>
    </div>
</template> 

<script>
    export default {
        name: 'YxTabnav',

        data() {
            return {
               
            };
        },
        computed:{
          active:{
              get(){
                  return this.$route.meta.activeNum
              },
              set(){

              }
          },
       
        },

        methods: {

        },
    };
</script>

<style lang="scss" scoped>

</style>
